package com.cuotigou.mapper;

import com.cuotigou.pojo.SUser;

import java.util.List;
import java.util.Map;

public interface SUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SUser record);

    int insertSelective(SUser record);

    SUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SUser record);

    int updateByPrimaryKey(SUser record);
    //根据手机号查询用户
    SUser selectUserByMap(Map<String,Object> map);

    List<SUser> selectAnswerRank(Integer limit);
}